package mp3seller.util;

import mp3seller.entities.Person;

public class UserInfo {
	private static boolean isAdmin = false;
	private static Person user;
	
	public static void setAdmin(boolean isAmin){
		UserInfo.isAdmin = isAmin;
	}

	public static boolean isAdmin() {
		return isAdmin;
	}

	public static Person getUser() {
		return user;
	}

	public static void setUser(Person user) {
		UserInfo.user = user;
	}	
}
